Branchwell

Jotley / app · jotley.ai / Shared / Models / JotleyNotes.xcdatamodeld / JotleyNotes 6.xcdatamodel / contents

1<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="23788.4" systemVersion="25A5295e" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithSwiftData="YES" userDefinedModelVersionIdentifier="">
3 <entity name="Folder" representedClassName="Folder" syncable="YES" codeGenerationType="class">
4 <attribute name="createdAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
5 <attribute name="id" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
6 <attribute name="name" optional="YES" attributeType="String"/>
7 <attribute name="sortOrder" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
8 <relationship name="notes" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Note" inverseName="folder" inverseEntity="Note"/>
9 </entity>
10 <entity name="Note" representedClassName="Note" syncable="YES" codeGenerationType="class">
11 <attribute name="cleantranscription" optional="YES" attributeType="String"/>
12 <attribute name="id" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
13 <attribute name="notes" optional="YES" attributeType="String"/>
14 <attribute name="noteType" optional="YES" attributeType="String"/>
15 <attribute name="sourceDescription" optional="YES" attributeType="String"/>
16 <attribute name="sourceURL" optional="YES" attributeType="String"/>
17 <attribute name="summary" optional="YES" attributeType="String"/>
18 <attribute name="summaryType" optional="YES" attributeType="String"/>
19 <attribute name="timestamp" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
20 <attribute name="title" optional="YES" attributeType="String"/>
21 <attribute name="transcription" optional="YES" attributeType="String"/>
22 <attribute name="transcriptUtterancesJSON" optional="YES" attributeType="String"/>
23 <relationship name="folder" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Folder" inverseName="notes" inverseEntity="Folder"/>
24 <relationship name="tags" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Tag" inverseName="notes" inverseEntity="Tag"/>
25 </entity>
26 <entity name="NoteChatMessage" representedClassName="NoteChatMessage" syncable="YES" codeGenerationType="class">
27 <attribute name="content" optional="YES" attributeType="String"/>
28 <attribute name="id" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
29 <attribute name="noteId" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
30 <attribute name="role" optional="YES" attributeType="String"/>
31 <attribute name="timestamp" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
32 </entity>
33 <entity name="PendingTranscription" representedClassName="PendingTranscription" syncable="YES" codeGenerationType="class">
34 <attribute name="attempts" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
35 <attribute name="createdAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
36 <attribute name="id" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
37 <attribute name="language" optional="YES" attributeType="String" defaultValueString="en"/>
38 <attribute name="lastAttemptAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
39 <attribute name="lastError" optional="YES" attributeType="String"/>
40 <attribute name="recordingId" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
41 <attribute name="recordingURL" optional="YES" attributeType="String"/>
42 </entity>
43 <entity name="RecordingMarker" representedClassName="RecordingMarker" syncable="YES" codeGenerationType="class">
44 <attribute name="id" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
45 <attribute name="label" optional="YES" attributeType="String"/>
46 <attribute name="noteId" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
47 <attribute name="timestamp" optional="YES" attributeType="Double" usesScalarValueType="YES"/>
48 </entity>
49 <entity name="Tag" representedClassName="Tag" syncable="YES" codeGenerationType="class">
50 <attribute name="canonicalName" optional="YES" attributeType="String"/>
51 <attribute name="createdAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
52 <attribute name="id" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
53 <attribute name="name" optional="YES" attributeType="String"/>
54 <relationship name="notes" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Note" inverseName="tags" inverseEntity="Note"/>
55 </entity>
56</model>